package com.icemelon.catdog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.icemelon.catdog.pojo.Friend;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.validation.annotation.Validated;

import java.util.List;


public interface FriendMapper extends BaseMapper<Friend> {
    @Select("select fan from friend where idol=#{id}")
    List<Integer> findFriendById(Integer id);
}

